package com.enjoyor.soa.traffic.api.uums.dto;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class DataAccessRightDto implements Serializable {
    private static final long serialVersionUID = 1L;
    // 组织编号
    private String orgId;
    // 只读权限
    private boolean readOnly;
    // 写入权限
    private boolean writeOnly;
    // 读写权限
    private boolean readwrite;

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public boolean isReadOnly() {
        return readOnly;
    }

    public void setReadOnly(boolean readOnly) {
        this.readOnly = readOnly;
    }

    public boolean isWriteOnly() {
        return writeOnly;
    }

    public void setWriteOnly(boolean writeOnly) {
        this.writeOnly = writeOnly;
    }

    public boolean isReadwrite() {
        return readwrite;
    }

    public void setReadwrite(boolean readwrite) {
        this.readwrite = readwrite;
    }
}
